package cn.mafangui.hotel.entity;

import java.util.Date;

/**
 * @author ：Angular
 * @ProjectName: hotel
 * @Package: cn.mafangui.hotel.entity
 * @ClassName: Notice
 * @date ：Created in 2021/4/24 11:13
 * @description：公告实体类
 * @modified By：
 * @version: v1.0.0$
 */
public class Dishes {
    private int id;
    private String name;
    private String num;
    private String price;
    private Date time;
    private int userId;
    private String userName;
    private String userTel;
    private String role;
    private String pay;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getNum() {
        return num;
    }

    public void setNum(String num) {
        this.num = num;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserTel() {
        return userTel;
    }

    public void setUserTel(String userTel) {
        this.userTel = userTel;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    public String getPay() {
        return pay;
    }

    public void setPay(String pay) {
        this.pay = pay;
    }

    @Override
    public String toString() {
        return "Dishes{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", num='" + num + '\'' +
                ", price='" + price + '\'' +
                ", time=" + time +
                ", userId=" + userId +
                ", userName='" + userName + '\'' +
                ", userTel='" + userTel + '\'' +
                ", role='" + role + '\'' +
                ", pay='" + pay + '\'' +
                '}';
    }

    public Dishes(int id, String name, String num, String price, Date time, int userId, String userName, String userTel, String role) {
        this.id = id;
        this.name = name;
        this.num = num;
        this.price = price;
        this.time = time;
        this.userId = userId;
        this.userName = userName;
        this.userTel = userTel;
        this.role = role;
    }
    public Dishes(){
        super();
    }
}
